package cn.edu.stu.syllabus.api;

import java.util.List;

import cn.edu.stu.syllabus.repository.oaFile.remote.OaFile;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by daidaijie on 2017/3/14.
 */

public interface OaFileApi {
    @FormUrlEncoded
    @POST("GetDOCAccessory")
    Observable<List<OaFile>> getOAFileList(@Field("token") String token,
                                           @Field("docid") long docid);
}
